def add_end(s=[]):
    s.append('end')
    return s

if __name__ == "__main__":
    print(add_end([1,2,3]))
    # 可变性？？？global？？？
    print(add_end())
    print(add_end())
    print(add_end())